package geo

import (
	"gitcode.com/G-YT/ANN/server/plugin/geo/router"
	"github.com/gin-gonic/gin"
)

type GeoPlugin struct {
}

func CreateGeoPlug() *GeoPlugin {
	return &GeoPlugin{}
}

func (*GeoPlugin) Register(group *gin.RouterGroup) {
	router.RouterGroupApp.InitGeoRouter(group)
}

func (*GeoPlugin) RouterPath() string {
	return "geo"
}
